package Regist

import "github.com/gogf/gf/v2/frame/g"

type UserRegistReq struct {
	g.Meta   `path:"/api/auth/mainregister" method:"post"`
	Username string `v:"required|passport" p:"username" dc:"用户名"`
	Email    string `v:"required|email" p:"email" dc:"用户邮箱"`
	UserPwd  string `v:"required|password" p:"userpwd" dc:"用户密码"`
}

type UserRegistRes struct {
	Qid  string `json:"qid"`
	Name string `json:"name"`
}
